package com.oig.base.api.fallback;

import com.oig.base.api.HarborService;
import com.oig.sys.base.dto.HarborDto;
import com.oig.sys.base.vo.HarborVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class HarborServiceFallBackImpl implements HarborService {

    @Setter
    private Throwable cause;

    @Override
    public HarborVo getByCode(String code) {
        log.error("feign getByCode error ", cause);
        return null;
    }

    @Override
    public HarborVo getByName(String name) {
        log.error("feign getByName error ", cause);
        return null;
    }

    @Override
    public HarborVo getByOldCode(String oldCode) {
        log.error("feign getByOldCode error ", cause);
        return null;
    }

    @Override
    public HarborVo updateHarbor(HarborDto harborDto) {
        log.error("feign updateHarbor error ", cause);
        return null;
    }


}
